package com.sign.demo.constant;


public enum DetectionErrorEnum implements IMessage {
    QUERY_ORDER_FAILED("4001", "order is null"),
    QUERY_EVALUATION_ID_FAILED("4002", "evaluation is null"),
    QUERY_EVALUATION_FUNCTION_FAILED("4003", "evaluation function is null"),
    QUERY_EVALUATION_MEMORY_FAILED("4004", "evaluation memory is null"),
    QUERY_ORDER_IMEI_FAILED("4005", "order imei is null"),
    EXPIRED("1001","expired"),
    ERROR("1002","error"),
    PHONE_CODE_NON_EXISTENCE("1003","phoneCode is not existence"),
    ;

    private String code;
    private String category;

    DetectionErrorEnum(String code, String category) {
        this.code = code;
        this.category = category;
    }

    @Override
    public String getCode() {
        return  code;
    }

    @Override
    public String getCategory() {
        return category;
    }
}
